package net.linku.model.req.privilege;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.linku.constant.PageParam;

/**
 * 权限的查询参数
 *
 * @author SilenceTian
 * @date 2024/7/14
 */
@ApiModel(description = "后台权限表返回值")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminPrivilegeQuery extends PageParam {

    /**
     * 权限id
     */
    @ApiModelProperty(value = "权限id")
    private Long id;

    /**
     * 租户ID, 值集 0 是大众租户 1是后端集团租户
     */
    @ApiModelProperty(value = "租户ID, 值集 0 是大众租户 1是后端集团租户")
    private Long tenantId;

    /**
     * 所属菜单Id
     */
    @ApiModelProperty(value = "所属菜单Id")
    private Long menuId;

    /**
     * 功能点名称
     */
    @ApiModelProperty(value = "功能点名称")
    private String name;

    /**
     * 功能描述
     */
    @ApiModelProperty(value = "功能描述")
    private String description;

    /**
     * url
     */
    @ApiModelProperty(value = "url")
    private String url;

    /**
     * 方法名
     */
    @ApiModelProperty(value = "方法名")
    private String method;
}
